﻿using System;

namespace WMS_Goodsinfo.Domain
{
    /// <summary>
    /// 商品出库预测数据汇总表（简化版）
    /// 存储每日的商品出库统计，作为特征计算的基础数据
    /// </summary>
    public class ProductOutboundSummary : Entity
    {
        /// <summary>
        /// 商品ID
        /// </summary>
        public int ProductId { get; set; }
        
        /// <summary>
        /// 统计日期
        /// </summary>
        public DateTime SummaryDate { get; set; }
        
        /// <summary>
        /// 当日出库数量（预测目标）
        /// </summary>
        public int DailyOutboundQuantity { get; set; }
        
        /// <summary>
        /// 7日平均出库量
        /// </summary>
        public decimal AvgOutbound7Days { get; set; }
        
        /// <summary>
        /// 30日平均出库量
        /// </summary>
        public decimal AvgOutbound30Days { get; set; }
        
        /// <summary>
        /// 当日库存余额
        /// </summary>
        public int DailyInventoryBalance { get; set; }
        
        /// <summary>
        /// 星期几 (1-7)
        /// </summary>
        public int DayOfWeek { get; set; }
        
        /// <summary>
        /// 月份 (1-12)
        /// </summary>
        public int Month { get; set; }
        
        /// <summary>
        /// 是否节假日
        /// </summary>
        public bool IsHoliday { get; set; }
    }
}
